//定义医院设置列表请求中的参数的类型
export interface getHospitalSetListParamsType {
    page: number,
    limit: number,
    hosname?: string,
    hoscode?: string,
}

// 定义请求到的数据中record每个对象的类型
export interface getHospitalSetListRecordItemType {
    id: number,
    createTime: string,
    updateTime: string,
    isDeleted: number,
    param: object,
    hosname: string,
    hoscode: string,
    apiUrl: string,
    signKey: string,
    contactsName: string,
    contactsPhone: string,
    status: 0 | 1
}

// 定义请求到的数据中record的类型(是一个数组)
export type getHospitalSetListRecordType = getHospitalSetListRecordItemType[]

// 定义请求到的数据完整的类型
export interface getHospitalSetListType {
    records: getHospitalSetListRecordType,
    total: number,
    size: number,
    current: number,
    orders: any[],
    hitCount: boolean, 
    searchCount: boolean,
    pages: number,
}